import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//  引入ElementUI组件库
import ElementUI from 'element-ui'
//  引入ElementUI样式
import 'element-ui/lib/theme-chalk/index.css'
//  引入MintUI组件库
import Mint from 'mint-ui';
//  引入MintUI样式
import 'mint-ui/lib/style.css'
//引入font-awesome
import 'font-awesome/css/font-awesome.min.css'
import 'font-awesome/css/font-awesome.css'

import { library } from '@fortawesome/fontawesome-svg-core'
import { faCoffee } from '@fortawesome/free-solid-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'

library.add(faCoffee)

Vue.component('font-awesome-icon', FontAwesomeIcon)
Vue.config.productionTip = false
// 应用ElementUI
Vue.use(ElementUI)
// 应用MintUI
Vue.use(Mint)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
